package com.eduhzy.ttw.clazz.mvp.model.entity;

import android.content.Context;

/**
 * @author xubo
 * @date 2018/12/7 11:39
 */
public class ClazzReportList {

    /**
     * classId : 0
     * createTime : 0
     * evaluateTagId : 0
     * evaluateTagName :
     * evaluateTagUrl :
     * id : 0
     * score : 0
     * studentId : 0
     * studentName :
     * teacherId : 0
     * teacherName :
     * teamId : 0
     * teamName :
     */

    private int classId;
    private long createTime;
    private int evaluateTagId;
    private String evaluateTagName;
    private String evaluateTagUrl;
    private int id;
    private int score;
    private int studentId;
    private String studentName;
    private int teacherId;
    private String teacherName;
    private int teamId;
    private String teamName;

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(int createTime) {
        this.createTime = createTime;
    }

    public int getEvaluateTagId() {
        return evaluateTagId;
    }

    public void setEvaluateTagId(int evaluateTagId) {
        this.evaluateTagId = evaluateTagId;
    }

    public String getEvaluateTagName() {
        return evaluateTagName;
    }

    public void setEvaluateTagName(String evaluateTagName) {
        this.evaluateTagName = evaluateTagName;
    }

    public int getEvaluateTagUrl(Context mContext) {
        int drawable = mContext.getResources().getIdentifier("icon_" + evaluateTagUrl, "drawable", mContext.getPackageName());
        return drawable;
    }

    public void setEvaluateTagUrl(String evaluateTagUrl) {
        this.evaluateTagUrl = evaluateTagUrl;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }
}
